from django.contrib import admin
from .models import (
    Company, Department, Factory, Technology, Place,
    Device, DeviceHistory, Warehouse, Materialtype, Material,
    Inventory, InventoryRecord, CustomUser
)

# 注册模型
admin.site.register(Company)
admin.site.register(Department)
admin.site.register(Factory)
admin.site.register(Technology)
admin.site.register(Place)
admin.site.register(Device)
admin.site.register(DeviceHistory)
admin.site.register(Warehouse)
admin.site.register(Materialtype)
admin.site.register(Material)
admin.site.register(Inventory)
admin.site.register(InventoryRecord)
admin.site.register(CustomUser)
